package com.tarim.wheat.model;

import java.util.Date;

public class Message {
    private Long id;

    private Long userId;

    private String plantHeight;

    private String growingSeason;

    private String leafColor;

    private String leafShape;

    private String grainLength;

    private Date createTime;

    private Integer dr;

    public Message(Long id, Long userId, String plantHeight, String growingSeason, String leafColor, String leafShape, String grainLength, Date createTime, Integer dr) {
        this.id = id;
        this.userId = userId;
        this.plantHeight = plantHeight;
        this.growingSeason = growingSeason;
        this.leafColor = leafColor;
        this.leafShape = leafShape;
        this.grainLength = grainLength;
        this.createTime = createTime;
        this.dr = dr;
    }

    public Message() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPlantHeight() {
        return plantHeight;
    }

    public void setPlantHeight(String plantHeight) {
        this.plantHeight = plantHeight == null ? null : plantHeight.trim();
    }

    public String getGrowingSeason() {
        return growingSeason;
    }

    public void setGrowingSeason(String growingSeason) {
        this.growingSeason = growingSeason == null ? null : growingSeason.trim();
    }

    public String getLeafColor() {
        return leafColor;
    }

    public void setLeafColor(String leafColor) {
        this.leafColor = leafColor == null ? null : leafColor.trim();
    }

    public String getLeafShape() {
        return leafShape;
    }

    public void setLeafShape(String leafShape) {
        this.leafShape = leafShape == null ? null : leafShape.trim();
    }

    public String getGrainLength() {
        return grainLength;
    }

    public void setGrainLength(String grainLength) {
        this.grainLength = grainLength == null ? null : grainLength.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }
}